package com.cdu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(exclude = {MongoAutoConfiguration.class, SecurityAutoConfiguration.class})
@MapperScan("com.cdu.mapper")
@EnableAsync
@EnableTransactionManagement // 开启事务操作
public class EasyHelpV2Application {

    public static void main(String[] args) {
        SpringApplication.run(EasyHelpV2Application.class, args);
    }

}
